﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model.Member
{
    [Table("T_Member_Level")]
    public class T_Member_Level
    {
        /// <summary>
        /// 会员等级ID
        /// </summary>
        [Key]
        public int LevelId { get; set; }
        /// <summary>
        /// 会员等级名称
        /// </summary>
        public string LevelName { get; set; }

        /// <summary>
        /// 会员等级描述
        /// </summary>
        public string LevelDesc { get; set; }
        /// <summary>
        /// 会员级最低成长值
        /// </summary>
        public int LevelMinGrow { get; set; }
        /// <summary>
        /// 会员等级最高成长值
        /// </summary>
        public int LevelMaxGrow { get; set; }
        /// <summary>
        /// 等级状态
        /// </summary>
        public int LevelState { get; set; }
        /// <summary>
        /// 等级的创建时间
        /// </summary>
        public DateTime LevelDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 等级的修改时间
        /// </summary>
        public DateTime LevelChangeDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 外键  权益的主键
        /// </summary>
        public int RightId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }   
    }
}
